package com.crm.common.crm.entity.VO;

import com.crm.common.crm.entity.BO.CrmSearchBO;
import com.crm.common.ka.core.entity.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel("bi查询相关参数")
@Data
public class BiInstrumentParams extends PageEntity {

    @ApiModelProperty("部门ID")
    private Integer deptId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("0 部门 1员工")
    private Integer isUser = 1;

    @ApiModelProperty("类型ID")
    private Integer typeId;

    @ApiModelProperty("年份")
    private Integer year;

    @ApiModelProperty("菜单ID")
    private Integer menuId;

    @ApiModelProperty("月份")
    private Integer moneyType;

    @ApiModelProperty("数据类型")
    private Integer dataType;

    @ApiModelProperty("查询类型，跟进记录需要")
    private Integer queryType;

    @ApiModelProperty("crm类型")
    private Integer label;


    @ApiModelProperty("排序方式")
    private Integer order;

    @ApiModelProperty("排序字段")
    private String sortField;

    private Integer checkStatus;

    private Integer subUser;

    private String search;

    private Integer day;

    @ApiModelProperty(value = "高级筛选列表")
    private List<CrmSearchBO.Search> searchList = new ArrayList<>();

    @ApiModelProperty(value = "仪表盘类型")
    private Integer dashboardType;

    //    训练营期数
    @ApiModelProperty("训练营期数")
    private String periods;
    //    大类： 1.电商美工，2.手绘插画
    @ApiModelProperty("大类")
    private Integer categories;
    //    销售类型： 1.电销，2.网销
    @ApiModelProperty("销售类型")
    private Integer salesType;
    //    是否重复
    @ApiModelProperty("是否重复")
    private String repetition;
    //部门选择器
    @ApiModelProperty("部门选择器")
    private Integer[]  deptIdArray;
    //部门选择器
    @ApiModelProperty("人员选择器")
    private Long[]  userArray;

    @ApiModelProperty("表单类型  1.表单  2.线索")
    private Integer formType;


}
